<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork"%>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" id="user_education_mini_form" style="width: 900px;">
    <input type="hidden" id="operFlag" name="operFlag" value="<ww:property value='operFlag'/>" />
    <input type="hidden" id="userId" name="userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="lableId" name="lableId" value="<ww:property value='lableId'/>" />
    <input type="hidden" id="uuid" name="uuid" value="<ww:property value='userInfoDialogVo.userEducationVo.uuid'/>" />
    <input type="hidden" id="userInfoDialogVo.userEducationVo.userId" name="userInfoDialogVo.userEducationVo.userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="userInfoDialogVo.userEducationVo.uuid" name="userInfoDialogVo.userEducationVo.uuid" value="<ww:property value='userInfoDialogVo.userEducationVo.uuid'/>" />

    <div class="content">
        <div class="box box-primary">
            <div class="box-body previewTable tab-content">
                <table class="table table-bordered editTable form-group-sm">
                    <thead>
                    <tr>
                        <th colspan="12">学历学位信息</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="firstRow">
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">学历名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.edubackgroundname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.edubackgroundname'/>">
                        </td>
                        <td class="tdLable" colspan="2">学历代码</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userEducationVo.edubackgroundcode" value="userInfoDialogVo.userEducationVo.edubackgroundcode" list="#dictID.getDictList('d_educationBG', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">学位名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.degreecode" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.degreecode'/>">
                        </td>
                        <td class="tdLable" colspan="2">学位代码</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userEducationVo.degreename" value="userInfoDialogVo.userEducationVo.degreename" list="#dictID.getDictList('d_degree', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">入学时间</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userEducationVo.entrancetime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userEducationVo.entrancetime)"/>'>
                        </td>
                        <td class="tdLable" colspan="2">毕（肄）业时间</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userEducationVo.graduationtime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userEducationVo.graduationtime)"/>'>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">学位授予时间</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userEducationVo.obtaindegreetime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userEducationVo.obtaindegreetime)"/>'>
                        </td>
                        <td class="tdLable" colspan="2">学校（单位）名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.collegename" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.collegename'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">所学专业名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.professionalname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.professionalname'/>">
                        </td>
                        <td class="tdLable" colspan="2">所学专业类别</td>
                        <td colspan="4">
                            <input type="text" name="userInfoDialogVo.userEducationVo.professionalcategory" class="form-control" value="<ww:property value='userInfoDialogVo.userEducationVo.professionalcategory'/>" onclick="showCustomizedContent(this);" readonly style="cursor:pointer;"/>
                            <div class="customizedContent">
                                <div class="itemFilter">
                                    <input type="text" style="width:88%; border-radius: 3px;" placeholder="输入关键字自动进行检索" oninput="itemFilter('d_specialityType',this)">
                                </div>
                                <ul class="customizedSelect">
                                    <ww:iterator value="#dictID.getDictType('d_specialityType')" id="data" status="data">
                                        <li id="<ww:property value='code'/>" class="customizedOption" onclick="chooseItem(this)"><ww:property value="name"/></li>
                                    </ww:iterator>
                                </ul>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">教育类别</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userEducationVo.educationcatagory" value="userInfoDialogVo.userEducationVo.educationcatagory" list="#dictID.getDictList('d_educationType', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                        <td class="tdLable" colspan="2">学制年限</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.leanlimit" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.leanlimit'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">输出标识</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userEducationVo.outputmark" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userEducationVo.outputmark'/>">
                        </td>
                        <td class="tdLable" colspan="2"></td>
                        <td colspan="4">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">备注</td>
                        <td colspan="10">
                            <textarea  name="remark" rows="5" cols="10" class="form-control" ><ww:property value="remark" /></textarea>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <div class="operBtn">
                    <button class="btn green" type="button" onclick="save('<ww:property value="operFlag"/>','dialog','user_education_mini_form','<ww:property value="lableId"/>','<ww:property value="userId"/>');"><i class="fa fa-save" aria-hidden="true"></i>&nbsp;保存</button>
                    <button class="btn" type="button" onclick="$css.closeDialog()"><i class="fa fa-times-circle-o" aria-hidden="true"></i>&nbsp;关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>